<script>
export default {
  name: 'root component',
};
</script>

<template>
  <el-container>
    <el-header>学生管理</el-header>
    <el-container>
      <el-aside>
        <el-menu :router="true">
          <el-menu-item index="/student/list">学生列表</el-menu-item>
          <el-menu-item index="/student/add">添加学生</el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <!--路由出口(即默认视图)-->
        <router-view></router-view>
      </el-main>
    </el-container>
    <el-footer>&copy;2022 开发喵</el-footer>
  </el-container>
</template>

<style scoped>
</style>
